<select name="subCategoryId[]" id="subCategoryId" class="classItem" multiple="multiple">
  <option value="0">Select SubCategory</option>
  {html_options values=$subCategoryArr.subCategoryId output=$subCategoryArr.subCategoryName}
</select>